package com.zaey.springcloud.hystrix;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * @author JohnSoybean
 * @create 2020/10/15 11:43
 * @description
 */
@Component
public class GlobalFallback {

    @Bean
    public String globalFallbackMethod() {
        return "外置方法的Global异常处理信息，请稍后再试";
    }

}
